#ifndef __GAMEMENU_H__
#define __GAMEMENU_H__
#include "CGame.h"
#include "CSprite.h"

 enum Choose{Start = 0, LoadGame = 1, Quit = 2 };

class CGameMenu: public CGame
{

public:
	CSprite * _spriteChoose;
	int _choose;
	LPD3DXSPRITE spriteHandler;
	//static CGameMenu* instance;
	LPDIRECT3DSURFACE9 _background;
	

	CGameMenu(HINSTANCE hInstance, LPCSTR GameName, int iMode, bool bIsWindowed, int iFPS);
	//static CGameMenu* Singleton(LPD3DXSPRITE spriteHandler, float sale);
	~CGameMenu();
	void LoadResource(void);
	void RenderFrame();
	void UpdateFrame(void);
	void Game_End();
	//void Next();
	void Choosen();

};
#endif